/**
 * @projectName study-note
 * @package Mediator
 * @className Mediator.USA
 */
package Mediator;

/**
 * USA
 * @description 具体国家--美国
 * @author answer_wx
 * @date 2022/7/6 11:52
 * @version 1.0
 */
public class USA extends AbstractCountry {
    public USA(AbstractUN un) {
        super(un);
    }

    @Override
    public void declare(String message) {
        un.forward(message, this);
    }

    @Override
    public void getMessage(String message) {
        System.out.println("老美获得对方消息：" + message);
    }
}